<html>
 <head>
  <meta charset="utf-8"/>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
  <title>
   Hadoop集群之 ZooKeeper和Hbase环境搭建  | 数螺 | NAUT IDEA
  </title>
  <link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" rel="stylesheet"/>
  <link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"/>
  <style type="text/css">
   #xmain img {
                  max-width: 100%;
                  display: block;
                  margin-top: 10px;
                  margin-bottom: 10px;
                }

                #xmain p {
                    line-height:150%;
                    font-size: 16px;
                    margin-top: 20px;
                }

                #xmain h2 {
                    font-size: 24px;
                }

                #xmain h3 {
                    font-size: 20px;
                }

                #xmain h4 {
                    font-size: 18px;
                }


                .header {
	           background-color: #0099ff;
	           color: #ffffff;
	           margin-bottom: 20px;
	        }

	        .header p {
                  margin: 0px;
                  padding: 10px 0;
                  display: inline-block;  
                  vertical-align: middle;
                  font-size: 16px;
               }

               .header a {
                 color: white;
               }

              .header img {
                 height: 25px;
              }
  </style>
  <script src="http://cdn.bootcss.com/jquery/3.0.0/jquery.min.js">
  </script>
  <script src="http://nautstatic-10007657.file.myqcloud.com/static/css/readability.min.js" type="text/javascript">
  </script>
  <script type="text/javascript">
   $(document).ready(function() {
                 var loc = document.location;
                 var uri = {
                  spec: "http://dataunion.org/24331.html",
                  host: "http://dataunion.org",
                  prePath: "http://dataunion.org",
                  scheme: "http",
                  pathBase: "http://dataunion.org/"
                 };
    
                 var documentClone = document.cloneNode(true);
                 var article = new Readability(uri, documentClone).parse();
     
                 document.getElementById("xmain").innerHTML = article.content;
                });
  </script>
  <!-- 1466455004: Accept with keywords: (title(0.4):环境,社区,集群,Hadoop,数盟, topn(0.3):社区,浏览器,联系,路径,数盟,hadoop,行业资讯,开源,数据挖掘,根目录,目录,文件,Python,职业规划,文件系统,基础架构,文章,服务器,拷贝,默认值,数据,节点,存储系统,环境,Hadoop,可视化,编程语言,集群,软件,分布式).-->
 </head>
 <body onload="">
  <div class="header">
   <div class="container">
    <div class="row">
     <div class="col-xs-6 col-sm-6 text-left">
      <a href="/databee">
       <img src="http://nautidea-10007657.cos.myqcloud.com/logo_white.png"/>
      </a>
      <a href="/databee">
       <p>
        数螺
       </p>
      </a>
     </div>
     <div class="hidden-xs col-sm-6 text-right">
      <p>
       致力于数据科学的推广和知识传播
      </p>
     </div>
    </div>
   </div>
  </div>
  <div class="container text-center">
   <h1>
    Hadoop集群之 ZooKeeper和Hbase环境搭建
   </h1>
  </div>
  <div class="container" id="xmain">
   ﻿﻿
   <title>
    Hadoop集群之 ZooKeeper和Hbase环境搭建 | 数盟社区
   </title>
   <!-- All in One SEO Pack 2.2.7.6.2 by Michael Torbert of Semper Fi Web Design[32,76] -->
   <!-- /all in one seo pack -->
   <!--
<div align="center">
<a href="http://strata.oreilly.com.cn/hadoop-big-data-cn?cmp=mp-data-confreg-home-stcn16_dataunion_pc" target="_blank"><img src="http://dataunion.org/wp-content/uploads/2016/05/stratabj.jpg"/ ></a>
</div>
-->
   <header id="header-web">
    <div class="header-main">
     <hgroup class="logo">
      <h1>
       <a href="http://dataunion.org/" rel="home" title="数盟社区">
        <img src="http://dataunion.org/wp-content/themes/yzipi/images/logo.png"/>
       </a>
      </h1>
     </hgroup>
     <!--logo-->
     <nav class="header-nav">
      <ul class="menu" id="menu-%e4%b8%bb%e8%8f%9c%e5%8d%95">
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-71" id="menu-item-71">
        <a href="http://dataunion.org/category/events" title="events">
         活动
        </a>
        <ul class="sub-menu">
         <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22457" id="menu-item-22457">
          <a href="http://dataunion.org/2016timeline">
           2016档期
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-22459" id="menu-item-22459">
          <a href="http://dataunion.org/category/parterc">
           合作会议
          </a>
         </li>
        </ul>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor menu-item-has-children menu-item-20869" id="menu-item-20869">
        <a href="http://dataunion.org/category/tech" title="articles">
         文章
        </a>
        <ul class="sub-menu">
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-20867" id="menu-item-20867">
          <a href="http://dataunion.org/category/tech/base" title="base">
           基础架构
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3302" id="menu-item-3302">
          <a href="http://dataunion.org/category/tech/ai" title="ai">
           人工智能
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3303" id="menu-item-3303">
          <a href="http://dataunion.org/category/tech/analysis" title="analysis">
           数据分析
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-21920" id="menu-item-21920">
          <a href="http://dataunion.org/category/tech/dm">
           数据挖掘
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3314" id="menu-item-3314">
          <a href="http://dataunion.org/category/tech/viz" title="viz">
           可视化
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3305" id="menu-item-3305">
          <a href="http://dataunion.org/category/tech/devl" title="devl">
           编程语言
          </a>
         </li>
        </ul>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-20876" id="menu-item-20876">
        <a href="http://dataunion.org/category/industry">
         行业
        </a>
        <ul class="sub-menu">
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-16328" id="menu-item-16328">
          <a href="http://dataunion.org/category/industry/case" title="case">
           行业应用
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-2112" id="menu-item-2112">
          <a href="http://dataunion.org/category/industry/demo" title="demo">
           Demo展示
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-21562" id="menu-item-21562">
          <a href="http://dataunion.org/category/industry/news">
           行业资讯
          </a>
         </li>
        </ul>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-311" id="menu-item-311">
        <a href="http://dataunion.org/category/sources" title="sources">
         资源
        </a>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20870" id="menu-item-20870">
        <a href="http://dataunion.org/category/books" title="book">
         图书
        </a>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-21363" id="menu-item-21363">
        <a href="http://dataunion.org/category/training">
         课程
        </a>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-21853" id="menu-item-21853">
        <a href="http://dataunion.org/category/jobs">
         职位
        </a>
        <ul class="sub-menu">
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-22050" id="menu-item-22050">
          <a href="http://dataunion.org/category/career">
           职业规划
          </a>
         </li>
        </ul>
       </li>
      </ul>
     </nav>
     <!--header-nav-->
    </div>
   </header>
   <!--header-web-->
   <div id="main">
    <div id="soutab">
     <form action="http://dataunion.org/" class="search" method="get">
     </form>
    </div>
    <div id="container">
     <nav id="mbx">
      当前位置：
      <a href="http://dataunion.org">
       首页
      </a>
      &gt;
      <a href="http://dataunion.org/category/tech">
       文章
      </a>
      &gt;
      <a href="http://dataunion.org/category/tech/base">
       基础架构
      </a>
      &gt;  正文
     </nav>
     <!--mbx-->
     <article class="content">
      <header align="centre" class="contenttitle">
       <div class="mscc">
        <h1 class="mscctitle">
         <a href="http://dataunion.org/24331.html">
          Hadoop集群之 ZooKeeper和Hbase环境搭建
         </a>
        </h1>
        <address class="msccaddress ">
         <em>
          1,101 次阅读 -
         </em>
         <a href="http://dataunion.org/category/tech/base" rel="category tag">
          基础架构
         </a>
        </address>
       </div>
      </header>
      <div class="content-text">
       <blockquote>
        <p>
         前面讲解了Hadoop完全分布式的搭建，本章主要讲解一下在Hadoop完全分布式已经搭建成功的情况下搭建ZooKeeper和Hbase环境
        </p>
       </blockquote>
       <h1 id="所有软件下载百度云_密码：uup8">
        所有软件下载
        <a href="http://pan.baidu.com/s/1mhYmV36" rel="external" target="_blank">
         百度云
        </a>
        密码：uup8
       </h1>
       <h1 id="讲在开头：对于笔者的完全分布式环境请见该文：Hadoop完全分布式安装">
        讲在开头：对于笔者的完全分布式环境请见该文：
        <a href="http://blog.csdn.net/peace1213/article/details/51334508" rel="external" target="_blank">
         Hadoop完全分布式安装
        </a>
       </h1>
       <h2 id="1-ZooKeeper和Hbase的简答介绍：">
        1.ZooKeeper和Hbase的简答介绍：
       </h2>
       <ol>
        <li>
         ZooKeeper是一个分布式的，开放源码的分布式应用程序协调服务，是Google的Chubby一个开源的实现，是Hadoop和Hbase的重要组件。它是一个为分布式应用提供一致性服务的软件，提供的功能包括：配置维护、域名服务、分布式同步、组服务等。ZooKeeper的目标就是封装好复杂易出错的关键服务，将简单易用的接口和性能高效、功能稳定的系统提供给用户。
        </li>
        <li>
         HBase是一个分布式的、面向列的开源数据库，该技术来源于 Fay Chang 所撰写的Google论文“Bigtable：一个结构化数据的分布式存储系统”。就像Bigtable利用了Google文件系统（File System）所提供的分布式数据存储一样，HBase在Hadoop之上提供了类似于Bigtable的能力。HBase是Apache的Hadoop项目的子项目。HBase不同于一般的关系数据库，它是一个适合于非结构化数据存储的数据库。
        </li>
        <li>
         两者联系：Hbase的运行依赖ZooKeeper。Hbase自身带有一个默认的ZooKeeper，本文讲解的是自己搭建ZooKeeper环境。
        </li>
       </ol>
       <h2 id="2-ZooKeeper环境搭建：">
        2.ZooKeeper环境搭建：
       </h2>
       <h3 id="2-1软件下载：">
        2.1软件下载：
       </h3>
       <p>
        我使用的是zookeeper-3.4.5.tar.gz。下载改文件后，将文件解压到/usr/local目录下：
       </p>
       <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
       <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c1949852396715" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
        <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
         <span class="crayon-title">
         </span>
         <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
          <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
           <div class="crayon-button-icon">
           </div>
          </div>
          <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
           <div class="crayon-button-icon">
           </div>
          </div>
          <div class="crayon-button crayon-wrap-button" title="切换自动换行">
           <div class="crayon-button-icon">
           </div>
          </div>
          <div class="crayon-button crayon-expand-button" title="点击展开代码">
           <div class="crayon-button-icon">
           </div>
          </div>
          <div class="crayon-button crayon-copy-button" title="复制代码">
           <div class="crayon-button-icon">
           </div>
          </div>
          <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
           <div class="crayon-button-icon">
           </div>
          </div>
          <span class="crayon-language">
           Java
          </span>
         </div>
        </div>
        <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
        </div>
        <div class="crayon-plain-wrap">
         <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
          sudo mv zookeeper-3.4.5.tar.gz /usr/local
tar -xvzf  zookeeper-3.4.5.tar.gz
         </textarea>
        </div>
        <div class="crayon-main" style="">
         <table class="crayon-table">
          <tbody>
           <tr class="crayon-row">
            <td class="crayon-nums " data-settings="show">
             <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
              <div class="crayon-num" data-line="crayon-576853d8c1949852396715-1">
               1
              </div>
              <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1949852396715-2">
               2
              </div>
             </div>
            </td>
            <td class="crayon-code">
             <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
              <div class="crayon-line" id="crayon-576853d8c1949852396715-1">
               <span class="crayon-e">
                sudo
               </span>
               <span class="crayon-e">
                mv
               </span>
               <span class="crayon-v">
                zookeeper
               </span>
               <span class="crayon-o">
                -
               </span>
               <span class="crayon-cn">
                3.4.5.tar.gz
               </span>
               <span class="crayon-h">
               </span>
               <span class="crayon-o">
                /
               </span>
               <span class="crayon-v">
                usr
               </span>
               <span class="crayon-o">
                /
               </span>
               <span class="crayon-e">
                local
               </span>
              </div>
              <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1949852396715-2">
               <span class="crayon-v">
                tar
               </span>
               <span class="crayon-h">
               </span>
               <span class="crayon-o">
                -
               </span>
               <span class="crayon-e">
                xvzf
               </span>
               <span class="crayon-v">
                zookeeper
               </span>
               <span class="crayon-o">
                -
               </span>
               <span class="crayon-cn">
                3.4.5.tar.gz
               </span>
              </div>
             </div>
            </td>
           </tr>
          </tbody>
         </table>
        </div>
       </div>
       <!-- [Format Time: 0.0011 seconds] -->
       <p>
       </p>
       <h3 id="2-2配置">
        2.2配置
       </h3>
       <p>
        进入zookeeper-3.4.5/conf/目录:，拷贝zoo_sample.cfg生成一个新文件zoo.cfg(zk默认读取的文件)。然后修改zoo.cfg中dataDir目录地址，增加访问地址和端
       </p>
       <figure class="highlight stylus">
        <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
        <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c1958327728632" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
         <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
          <span class="crayon-title">
          </span>
          <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-wrap-button" title="切换自动换行">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-expand-button" title="点击展开代码">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-copy-button" title="复制代码">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
            <div class="crayon-button-icon">
            </div>
           </div>
           <span class="crayon-language">
            Python
           </span>
          </div>
         </div>
         <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
         </div>
         <div class="crayon-plain-wrap">
          <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
           cd zookeeper-3.4.6/conf/ cp zoo_sample.cfg zoo.cfg vim zoo.cfg ###修改如下 dataDir=/usr/local/zookeeper-3.4.6/data ----修改此目录,可以任意 ##添加如下内容 server.1=192.168.1.127:2887:3887 server.2=192.168.1.1128:2888:3888 server.3=192.168.1.129:2889:3889
          </textarea>
         </div>
         <div class="crayon-main" style="">
          <table class="crayon-table">
           <tbody>
            <tr class="crayon-row">
             <td class="crayon-nums " data-settings="show">
              <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
               <div class="crayon-num" data-line="crayon-576853d8c1958327728632-1">
                1
               </div>
              </div>
             </td>
             <td class="crayon-code">
              <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
               <div class="crayon-line" id="crayon-576853d8c1958327728632-1">
                <span class="crayon-k ">
                 cd
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-v">
                 zookeeper
                </span>
                <span class="crayon-o">
                 -
                </span>
                <span class="crayon-cn">
                 3.4.6
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 conf
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-e">
                 cp
                </span>
                <span class="crayon-v">
                 zoo_sample
                </span>
                <span class="crayon-sy">
                 .
                </span>
                <span class="crayon-e">
                 cfg
                </span>
                <span class="crayon-v">
                 zoo
                </span>
                <span class="crayon-sy">
                 .
                </span>
                <span class="crayon-e">
                 cfg
                </span>
                <span class="crayon-e">
                 vim
                </span>
                <span class="crayon-v">
                 zoo
                </span>
                <span class="crayon-sy">
                 .
                </span>
                <span class="crayon-v">
                 cfg
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-c">
                 ###修改如下 dataDir=/usr/local/zookeeper-3.4.6/data ----修改此目录,可以任意 ##添加如下内容 server.1=192.168.1.127:2887:3887 server.2=192.168.1.1128:2888:3888 server.3=192.168.1.129:2889:3889
                </span>
               </div>
              </div>
             </td>
            </tr>
           </tbody>
          </table>
         </div>
        </div>
        <!-- [Format Time: 0.0055 seconds] -->
        <br/>
        <p>
        </p>
       </figure>
       <p>
        进入zookeeper-3.4.5目录，创建刚才配置中增加的data目录， 然后进入data目录，创建myid文件，输入服务器编号，比如在192.168.1.127上，myid文件就存储数字1，192.168.1.128上就存储数字2，192.168.1.129上就存储数字3.
       </p>
       <figure class="highlight haskell">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c1964102646061" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               dir data
cd data
vim myid
1
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c1964102646061-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1964102646061-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1964102646061-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1964102646061-4">
                    4
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c1964102646061-1">
                    <span class="crayon-e">
                     dir
                    </span>
                    <span class="crayon-e">
                     data
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1964102646061-2">
                    <span class="crayon-e">
                     cd
                    </span>
                    <span class="crayon-e">
                     data
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1964102646061-3">
                    <span class="crayon-e">
                     vim
                    </span>
                    <span class="crayon-i">
                     myid
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1964102646061-4">
                    <span class="crayon-cn">
                     1
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0008 seconds] -->
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c196a663919726" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <span class="crayon-language">
                Python
               </span>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               mkdir data
cd data
vim myid
1
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c196a663919726-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c196a663919726-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c196a663919726-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c196a663919726-4">
                    4
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c196a663919726-1">
                    <span class="crayon-e">
                     mkdir
                    </span>
                    <span class="crayon-e">
                     data
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c196a663919726-2">
                    <span class="crayon-k ">
                     cd
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     data
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c196a663919726-3">
                    <span class="crayon-e">
                     vim
                    </span>
                    <span class="crayon-i">
                     myid
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c196a663919726-4">
                    <span class="crayon-cn">
                     1
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0010 seconds] -->
            <br/>
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <h3 id="2-3拷贝数据到其他服务器">
        2.3拷贝数据到其他服务器
       </h3>
       <p>
        1.复制zookeeper-3.4.5目录到其他从服务器
       </p>
       <figure class="highlight elixir">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c1971350047639" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <span class="crayon-language">
                Python
               </span>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               scp -r zookeeper-3.4.5 hadoop@192.168.1.128:~ 
scp -r zookeeper-3.4.5 hadoop@192.168.1.129:~ 
##注意在从服务器将zookeeper-3.4.5移动到/usr/local  不要这部也是没事的，只是为了保证集群环境一致
mv zookeeper-3.4.5 /usr/local
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c1971350047639-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1971350047639-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1971350047639-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1971350047639-4">
                    4
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c1971350047639-1">
                    <span class="crayon-v">
                     scp
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-i">
                     r
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-cn">
                     3.4.5
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     hadoop
                    </span>
                    <span class="crayon-sy">
                     @
                    </span>
                    <span class="crayon-cn">
                     192.168.1.128
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-o">
                     ~
                    </span>
                    <span class="crayon-h">
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1971350047639-2">
                    <span class="crayon-v">
                     scp
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-i">
                     r
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-cn">
                     3.4.5
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     hadoop
                    </span>
                    <span class="crayon-sy">
                     @
                    </span>
                    <span class="crayon-cn">
                     192.168.1.129
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-o">
                     ~
                    </span>
                    <span class="crayon-h">
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1971350047639-3">
                    <span class="crayon-c">
                     ##注意在从服务器将zookeeper-3.4.5移动到/usr/local  不要这部也是没事的，只是为了保证集群环境一致
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1971350047639-4">
                    <span class="crayon-e">
                     mv
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-cn">
                     3.4.5
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     usr
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     local
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0145 seconds] -->
            <br/>
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <p>
        2.复制完成，登录到其他服务器，修改zookeeper-3.4.5/data/myid 文件的内容，slave1服务器就改成2，slave2服务器就改成3
       </p>
       <h3 id="2-4启动验证：">
        2.4启动验证：
       </h3>
       <p>
        在从master，slave1，slave2依次执行zkServer.sh start 来启动 zookeeper，所有服务器启动完成后，就可以通过zkServer.sh status来查看服务器状态。没有报错说明都正常了。输入jps可以看到服务器中多了一个QuorumPeerMain服务。
       </p>
       <figure class="highlight sql">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c1977683926283" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <span class="crayon-language">
                Python
               </span>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               cd /zookeeper-3.4.6
sh bin/zkServer.sh start 
jps
输出：
 QuorumPeerMain 
###状态查询
sh bin/zkServer.sh status
leader---表示master
Mode: follower 表示是跟从
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c1977683926283-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1977683926283-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1977683926283-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1977683926283-4">
                    4
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1977683926283-5">
                    5
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1977683926283-6">
                    6
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1977683926283-7">
                    7
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1977683926283-8">
                    8
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1977683926283-9">
                    9
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c1977683926283-1">
                    <span class="crayon-k ">
                     cd
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-cn">
                     3.4.6
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1977683926283-2">
                    <span class="crayon-e">
                     sh
                    </span>
                    <span class="crayon-k ">
                     bin
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     zkServer
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-e">
                     sh
                    </span>
                    <span class="crayon-e">
                     start
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1977683926283-3">
                    <span class="crayon-i">
                     jps
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1977683926283-4">
                    输出：
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1977683926283-5">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     QuorumPeerMain
                    </span>
                    <span class="crayon-h">
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1977683926283-6">
                    <span class="crayon-c">
                     ###状态查询
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1977683926283-7">
                    <span class="crayon-e">
                     sh
                    </span>
                    <span class="crayon-k ">
                     bin
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     zkServer
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-e">
                     sh
                    </span>
                    <span class="crayon-e">
                     status
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1977683926283-8">
                    <span class="crayon-v">
                     leader
                    </span>
                    <span class="crayon-o">
                     --
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    表示
                    <span class="crayon-e">
                     master
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1977683926283-9">
                    <span class="crayon-v">
                     Mode
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     follower
                    </span>
                    <span class="crayon-h">
                    </span>
                    表示是跟从
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0089 seconds] -->
            <br/>
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <p>
        到这里zk环境搭建完毕
       </p>
       <h2 id="3-Hbase环境搭建">
        3.Hbase环境搭建
       </h2>
       <p>
        HBase集群需要依赖于一个Zookeeper ensemble。HBase集群中的所有节点以及要访问HBase的客户端都需要能够访问到该Zookeeper ensemble。HBase自带了Zookeeper，但为了方便其他应用程序使用Zookeeper，最好使用单独安装的Zookeeper ensemble。
       </p>
       <p>
        此外，Zookeeper ensemble一般配置为奇数个节点，并且Hadoop集群、Zookeeper ensemble、
       </p>
       <p>
        HBase集群是三个互相独立的集群，并不需要部署在相同的物理节点上，他们之间是通过网
       </p>
       <p>
        络通信的。
       </p>
       <h3 id="3-1软件下载">
        3.1软件下载
       </h3>
       <p>
        我下载的是hbase-0.94.16.tar.gz，hbase的版本需要与hadoop对应，查看是否对应只需要看hbase-0.94.1/lib/hadoop-core后面的版本号是否与hadoop的版本对应，如果不对应，可以将hadoop下hadoop-core文件复制过来，但是不能保证不会有问题
        <br/>
        解压到/usr/local下
       </p>
       <h3 id="3-2配置">
        3.2配置
       </h3>
       <p>
        1.配置hbase-env.sh
       </p>
       <p>
        该文件在{HBASE_HOME}/conf目录下。
       </p>
       <figure class="highlight typescript">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c197e448085474" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               &lt;span class="line"&gt;vim conf/hbase-env.sh&lt;/span&gt;
&lt;span class="line"&gt;&lt;span class="keyword"&gt;export&lt;/span&gt; JAVA_HOME=&lt;span class="regexp"&gt;/usr/&lt;/span&gt;java/jdk&lt;/span&gt;

&lt;span class="line"&gt;&lt;span class="keyword"&gt;export&lt;/span&gt; HBASE_CLASSPATH=&lt;span class="regexp"&gt;/usr/&lt;/span&gt;local/hadoop/conf&lt;/span&gt;

&lt;span class="line"&gt;&lt;span class="keyword"&gt;export&lt;/span&gt; HBASE_MANAGES_ZK=&lt;span class="literal"&gt;false&lt;/span&gt;&lt;/span&gt;
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c197e448085474-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c197e448085474-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c197e448085474-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c197e448085474-4">
                    4
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c197e448085474-5">
                    5
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c197e448085474-6">
                    6
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c197e448085474-1">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-e">
                     vim
                    </span>
                    <span class="crayon-v">
                     conf
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-v">
                     env
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     sh
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c197e448085474-2">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "keyword"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     export
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     JAVA_HOME
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "regexp"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     usr
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     java
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     jdk
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c197e448085474-3">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c197e448085474-4">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "keyword"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     export
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     HBASE_CLASSPATH
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "regexp"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     usr
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     local
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     hadoop
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     conf
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c197e448085474-5">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c197e448085474-6">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "keyword"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     export
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     HBASE_MANAGES_ZK
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "literal"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-t">
                     false
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0263 seconds] -->
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <p>
        其中，HBASE_CLASSPATH指向存放有Hadoop配置文件的目录，这样HBase可以找到HDFS的配置信息，由于本文Hadoop和HBase部署在相同的物理节点，所以就指向了Hadoop安
       </p>
       <p>
        装路径下的conf目录。HBASE_MANAGES_ZK=false指示HBase使用已有的Zookeeper而不是自带的。
       </p>
       <p>
        2.配置hbase-site.xml
       </p>
       <figure class="highlight gherkin">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c1985382504658" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               &lt;span class="line"&gt; &lt;/span&gt;
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c1985382504658-1">
                    1
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c1985382504658-1">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0125 seconds] -->
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c198b889564157" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <span class="crayon-language">
                Python
               </span>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               &lt;configuration&gt;

 &lt;property&gt;
   &lt;name&gt;hbase.rootdir&lt;/name&gt;
   &lt;value&gt;hdfs://192.168.1.127:9000/hbase&lt;/value&gt;
   &lt;description&gt;The directory shared by region servers.&lt;/description&gt;
 &lt;/property&gt;

 &lt;property&gt;
   &lt;name&gt;hbase.hregion.max.filesize&lt;/name&gt;
   &lt;value&gt;1073741824&lt;/value&gt;
   &lt;description&gt;
   Maximum HStoreFile size. If any one of a column families' HStoreFiles has
   grown to exceed this value, the hosting HRegion is split in two.
   Default: 256M.
   &lt;/description&gt;
 &lt;/property&gt;

 &lt;property&gt;
   &lt;name&gt;hbase.hregion.memstore.flush.size&lt;/name&gt;
   &lt;value&gt;1073741824&lt;/value&gt;
   &lt;description&gt;
   Memstore will be flushed to disk if size of the memstore
   exceeds this number of bytes.  Value is checked by a thread that runs
   every hbase.server.thread.wakefrequency.
   &lt;/description&gt;
 &lt;/property&gt;

 &lt;property&gt;
   &lt;name&gt;hbase.cluster.distributed&lt;/name&gt;
   &lt;value&gt;true&lt;/value&gt;
   &lt;description&gt;The mode the cluster will be in. Possible values are
     false: standalone and pseudo-distributed setups with managed Zookeeper
     true: fully-distributed with unmanaged Zookeeper Quorum (see hbase-env.sh)
   &lt;/description&gt;
 &lt;/property&gt;

 &lt;property&gt;
     &lt;name&gt;hbase.zookeeper.property.clientPort&lt;/name&gt;
     &lt;value&gt;2181&lt;/value&gt;
     &lt;description&gt;Property from ZooKeeper's config zoo.cfg.
     The port at which the clients will connect.
     &lt;/description&gt;
 &lt;/property&gt;

 &lt;property&gt;
   &lt;name&gt;zookeeper.session.timeout&lt;/name&gt;
   &lt;value&gt;120000&lt;/value&gt;
 &lt;/property&gt;

 &lt;property&gt;
   &lt;name&gt;hbase.zookeeper.property.tickTime&lt;/name&gt;
   &lt;value&gt;6000&lt;/value&gt;
 &lt;/property&gt;
   &lt;property&gt;
     &lt;name&gt;hbase.zookeeper.quorum&lt;/name&gt;
     &lt;value&gt;master,slave1,slave2&lt;/value&gt;
     &lt;description&gt;Comma separated list of servers in the ZooKeeper Quorum.
     For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
     By default this is set to localhost for local and pseudo-distributed modes of operation. For a fully-distributed setup, this should be set to a full list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh this is the list of servers which we will start/stop ZooKeeper on.
     &lt;/description&gt;
&lt;/property&gt;

&lt;property&gt;
       &lt;name&gt;hbase.tmp.dir&lt;/name&gt;
       &lt;value&gt;/usr/local/hbase/tmp&lt;/value&gt;
&lt;/property&gt;

&lt;/configuration&gt;
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-4">
                    4
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-5">
                    5
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-6">
                    6
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-7">
                    7
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-8">
                    8
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-9">
                    9
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-10">
                    10
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-11">
                    11
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-12">
                    12
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-13">
                    13
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-14">
                    14
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-15">
                    15
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-16">
                    16
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-17">
                    17
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-18">
                    18
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-19">
                    19
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-20">
                    20
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-21">
                    21
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-22">
                    22
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-23">
                    23
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-24">
                    24
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-25">
                    25
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-26">
                    26
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-27">
                    27
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-28">
                    28
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-29">
                    29
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-30">
                    30
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-31">
                    31
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-32">
                    32
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-33">
                    33
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-34">
                    34
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-35">
                    35
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-36">
                    36
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-37">
                    37
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-38">
                    38
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-39">
                    39
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-40">
                    40
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-41">
                    41
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-42">
                    42
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-43">
                    43
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-44">
                    44
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-45">
                    45
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-46">
                    46
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-47">
                    47
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-48">
                    48
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-49">
                    49
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-50">
                    50
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-51">
                    51
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-52">
                    52
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-53">
                    53
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-54">
                    54
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-55">
                    55
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-56">
                    56
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-57">
                    57
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-58">
                    58
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-59">
                    59
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-60">
                    60
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-61">
                    61
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-62">
                    62
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-63">
                    63
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-64">
                    64
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-65">
                    65
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-66">
                    66
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-67">
                    67
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c198b889564157-68">
                    68
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c198b889564157-69">
                    69
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-1">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     configuration
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-2">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-3">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-4">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     rootdir
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-5">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     hdfs
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-cn">
                     192.168.1.127
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     9000
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-6">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     description
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-e">
                     The
                    </span>
                    <span class="crayon-e">
                     directory
                    </span>
                    <span class="crayon-e">
                     shared
                    </span>
                    <span class="crayon-e">
                     by
                    </span>
                    <span class="crayon-e">
                     region
                    </span>
                    <span class="crayon-v">
                     servers
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     description
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-7">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-8">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-9">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-10">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     hregion
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-k ">
                     max
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     filesize
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-11">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-cn">
                     1073741824
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-12">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     description
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-13">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     Maximum
                    </span>
                    <span class="crayon-e">
                     HStoreFile
                    </span>
                    <span class="crayon-v">
                     size
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     If
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-k ">
                     any
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     one
                    </span>
                    <span class="crayon-i">
                     of
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     a
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     column
                    </span>
                    <span class="crayon-i">
                     families
                    </span>
                    <span class="crayon-s">
                     ' HStoreFiles has
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-14">
                    <span class="crayon-s">
                     grown to exceed this value, the hosting HRegion is split in two.
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-15">
                    <span class="crayon-s">
                     Default: 256M.
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-16">
                    <span class="crayon-s">
                     &lt;/description&gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-17">
                    <span class="crayon-s">
                     &lt;/property&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-18">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-19">
                    <span class="crayon-s">
                     &lt;property&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-20">
                    <span class="crayon-s">
                     &lt;name&gt;hbase.hregion.memstore.flush.size&lt;/name&gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-21">
                    <span class="crayon-s">
                     &lt;value&gt;1073741824&lt;/value&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-22">
                    <span class="crayon-s">
                     &lt;description&gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-23">
                    <span class="crayon-s">
                     Memstore will be flushed to disk if size of the memstore
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-24">
                    <span class="crayon-s">
                     exceeds this number of bytes.  Value is checked by a thread that runs
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-25">
                    <span class="crayon-s">
                     every hbase.server.thread.wakefrequency.
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-26">
                    <span class="crayon-s">
                     &lt;/description&gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-27">
                    <span class="crayon-s">
                     &lt;/property&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-28">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-29">
                    <span class="crayon-s">
                     &lt;property&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-30">
                    <span class="crayon-s">
                     &lt;name&gt;hbase.cluster.distributed&lt;/name&gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-31">
                    <span class="crayon-s">
                     &lt;value&gt;true&lt;/value&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-32">
                    <span class="crayon-s">
                     &lt;description&gt;The mode the cluster will be in. Possible values are
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-33">
                    <span class="crayon-s">
                     false: standalone and pseudo-distributed setups with managed Zookeeper
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-34">
                    <span class="crayon-s">
                     true: fully-distributed with unmanaged Zookeeper Quorum (see hbase-env.sh)
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-35">
                    <span class="crayon-s">
                     &lt;/description&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-36">
                    <span class="crayon-s">
                     &lt;/property&gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-37">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-38">
                    <span class="crayon-s">
                     &lt;property&gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-39">
                    <span class="crayon-s">
                     &lt;name&gt;hbase.zookeeper.property.clientPort&lt;/name&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-40">
                    <span class="crayon-s">
                     &lt;value&gt;2181&lt;/value&gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-41">
                    <span class="crayon-s">
                     &lt;description&gt;Property from ZooKeeper'
                    </span>
                    <span class="crayon-i">
                     s
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     config
                    </span>
                    <span class="crayon-v">
                     zoo
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     cfg
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-42">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     The
                    </span>
                    <span class="crayon-e">
                     port
                    </span>
                    <span class="crayon-e">
                     at
                    </span>
                    <span class="crayon-e">
                     which
                    </span>
                    <span class="crayon-e">
                     the
                    </span>
                    <span class="crayon-e">
                     clients
                    </span>
                    <span class="crayon-e">
                     will
                    </span>
                    <span class="crayon-v">
                     connect
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-43">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     description
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-44">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-45">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-46">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-47">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     session
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     timeout
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-48">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-cn">
                     120000
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-49">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-50">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-51">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-52">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     tickTime
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-53">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-cn">
                     6000
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-54">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-55">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-56">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     quorum
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-57">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     master
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-v">
                     slave1
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-v">
                     slave2
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-58">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     description
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-e">
                     Comma
                    </span>
                    <span class="crayon-e">
                     separated
                    </span>
                    <span class="crayon-k ">
                     list
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     of
                    </span>
                    <span class="crayon-e">
                     servers
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     the
                    </span>
                    <span class="crayon-e">
                     ZooKeeper
                    </span>
                    <span class="crayon-v">
                     Quorum
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-59">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     For
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     example
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com"
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-60">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     By
                    </span>
                    <span class="crayon-e">
                     default
                    </span>
                    <span class="crayon-e">
                     this
                    </span>
                    <span class="crayon-st">
                     is
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-k ">
                     set
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     to
                    </span>
                    <span class="crayon-e">
                     localhost
                    </span>
                    <span class="crayon-st">
                     for
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     local
                    </span>
                    <span class="crayon-st">
                     and
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     pseudo
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-e">
                     distributed
                    </span>
                    <span class="crayon-e">
                     modes
                    </span>
                    <span class="crayon-e">
                     of
                    </span>
                    <span class="crayon-v">
                     operation
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     For
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     a
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     fully
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-e">
                     distributed
                    </span>
                    <span class="crayon-v">
                     setup
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     this
                    </span>
                    <span class="crayon-e">
                     should
                    </span>
                    <span class="crayon-e">
                     be
                    </span>
                    <span class="crayon-k ">
                     set
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     to
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     a
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     full
                    </span>
                    <span class="crayon-k ">
                     list
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     of
                    </span>
                    <span class="crayon-e">
                     ZooKeeper
                    </span>
                    <span class="crayon-e">
                     quorum
                    </span>
                    <span class="crayon-v">
                     servers
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     If
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     HBASE_MANAGES_ZK
                    </span>
                    <span class="crayon-st">
                     is
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-k ">
                     set
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-v">
                     env
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-e">
                     sh
                    </span>
                    <span class="crayon-e">
                     this
                    </span>
                    <span class="crayon-st">
                     is
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     the
                    </span>
                    <span class="crayon-k ">
                     list
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     of
                    </span>
                    <span class="crayon-e">
                     servers
                    </span>
                    <span class="crayon-e">
                     which
                    </span>
                    <span class="crayon-e">
                     we
                    </span>
                    <span class="crayon-e">
                     will
                    </span>
                    <span class="crayon-v">
                     start
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-e">
                     stop
                    </span>
                    <span class="crayon-e">
                     ZooKeeper
                    </span>
                    <span class="crayon-v">
                     on
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-61">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     description
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-62">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-63">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-64">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-65">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     tmp
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-k ">
                     dir
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     name
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-66">
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     usr
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     local
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     tmp
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     value
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-67">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c198b889564157-68">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c198b889564157-69">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     configuration
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0554 seconds] -->
            <br/>
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <p>
        参数介绍：
       </p>
       <figure class="highlight stylus">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c1993554667854" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <span class="crayon-language">
                Python
               </span>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               1，hbase.rootdir：hbase所使用的文件系统为HDFS，根目录为hdfs://192.168.1.127:9000/hbase，该目录应该由HBase自动创建，只需要指定到正确的HDFS NameNode上即可。

2，hbase.hregion.max.filesize：设置HStoreFile的大小，当 大于这个数时，就会split 成两个文件

3，hbase.hregion.memstore.flush.size：设置memstore的大小，当大于这个值时，写入磁盘

4，hbase.cluster.distributed：指定hbase为分布式模式

5，hbase.zookeeper.property.clientPort：指定zk的连接端口

6，zookeeper.session.timeout：RegionServer与Zookeeper间的连接超时时间。当超时时间到后，ReigonServer会被Zookeeper从RS集群清单中移除，HMaster收到移除通知后，会对这台server负责的regions重新balance，让其他存活的RegionServer接管.

7，hbase.zookeeper.property.tickTime：

8，hbase.zookeeper.quorum：默认值是 localhost，列出zookeepr的master,slave1,slave2

9，hbase.tmp.dir：指定HBase将元数据存放路径
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1993554667854-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1993554667854-4">
                    4
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-5">
                    5
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1993554667854-6">
                    6
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-7">
                    7
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1993554667854-8">
                    8
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-9">
                    9
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1993554667854-10">
                    10
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-11">
                    11
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1993554667854-12">
                    12
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-13">
                    13
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1993554667854-14">
                    14
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-15">
                    15
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c1993554667854-16">
                    16
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c1993554667854-17">
                    17
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-1">
                    <span class="crayon-cn">
                     1
                    </span>
                    ，
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     rootdir
                    </span>
                    ：
                    <span class="crayon-i">
                     hbase
                    </span>
                    所使用的文件系统为
                    <span class="crayon-i">
                     HDFS
                    </span>
                    ，根目录为
                    <span class="crayon-v">
                     hdfs
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-cn">
                     192.168.1.127
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     9000
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-i">
                     hbase
                    </span>
                    ，该目录应该由
                    <span class="crayon-i">
                     HBase
                    </span>
                    自动创建，只需要指定到正确的
                    <span class="crayon-e">
                     HDFS
                    </span>
                    <span class="crayon-i">
                     NameNode
                    </span>
                    上即可。
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1993554667854-2">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-3">
                    <span class="crayon-cn">
                     2
                    </span>
                    ，
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     hregion
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-k ">
                     max
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     filesize
                    </span>
                    ：设置
                    <span class="crayon-i">
                     HStoreFile
                    </span>
                    的大小，当
                    <span class="crayon-h">
                    </span>
                    大于这个数时，就会
                    <span class="crayon-i">
                     split
                    </span>
                    <span class="crayon-h">
                    </span>
                    成两个文件
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1993554667854-4">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-5">
                    <span class="crayon-cn">
                     3
                    </span>
                    ，
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     hregion
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     memstore
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     flush
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     size
                    </span>
                    ：设置
                    <span class="crayon-i">
                     memstore
                    </span>
                    的大小，当大于这个值时，写入磁盘
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1993554667854-6">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-7">
                    <span class="crayon-cn">
                     4
                    </span>
                    ，
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     cluster
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     distributed
                    </span>
                    ：指定
                    <span class="crayon-i">
                     hbase
                    </span>
                    为分布式模式
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1993554667854-8">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-9">
                    <span class="crayon-cn">
                     5
                    </span>
                    ，
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     clientPort
                    </span>
                    ：指定
                    <span class="crayon-i">
                     zk
                    </span>
                    的连接端口
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1993554667854-10">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-11">
                    <span class="crayon-cn">
                     6
                    </span>
                    ，
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     session
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     timeout
                    </span>
                    ：
                    <span class="crayon-i">
                     RegionServer
                    </span>
                    与
                    <span class="crayon-i">
                     Zookeeper
                    </span>
                    间的连接超时时间。当超时时间到后，
                    <span class="crayon-i">
                     ReigonServer
                    </span>
                    会被
                    <span class="crayon-i">
                     Zookeeper
                    </span>
                    从
                    <span class="crayon-i">
                     RS
                    </span>
                    集群清单中移除，
                    <span class="crayon-i">
                     HMaster
                    </span>
                    收到移除通知后，会对这台
                    <span class="crayon-i">
                     server
                    </span>
                    负责的
                    <span class="crayon-i">
                     regions
                    </span>
                    重新
                    <span class="crayon-i">
                     balance
                    </span>
                    ，让其他存活的
                    <span class="crayon-i">
                     RegionServer
                    </span>
                    接管
                    <span class="crayon-sy">
                     .
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1993554667854-12">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-13">
                    <span class="crayon-cn">
                     7
                    </span>
                    ，
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-k ">
                     property
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     tickTime
                    </span>
                    ：
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1993554667854-14">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-15">
                    <span class="crayon-cn">
                     8
                    </span>
                    ，
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     zookeeper
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     quorum
                    </span>
                    ：默认值是
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     localhost
                    </span>
                    ，列出
                    <span class="crayon-i">
                     zookeepr
                    </span>
                    的
                    <span class="crayon-v">
                     master
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-v">
                     slave1
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-i">
                     slave2
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c1993554667854-16">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c1993554667854-17">
                    <span class="crayon-cn">
                     9
                    </span>
                    ，
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     tmp
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-k ">
                     dir
                    </span>
                    ：指定
                    <span class="crayon-i">
                     HBase
                    </span>
                    将元数据存放路径
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0318 seconds] -->
            <br/>
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <p>
        3.配置regionservers 相当于hadoop的slave
       </p>
       <figure class="highlight nginx">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c199a140432822" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c199a140432822-1">
                    1
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c199a140432822-1">
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c19a0905025923" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               &lt;span class="line"&gt;&lt;span class="title"&gt;vim&lt;/span&gt; conf/regionservers &lt;/span&gt;
&lt;span class="line"&gt;&lt;span class="number"&gt;192.168.1.127&lt;/span&gt;&lt;/span&gt;
&lt;span class="line"&gt;&lt;span class="number"&gt;192.168.1.128&lt;/span&gt;&lt;/span&gt;
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c19a0905025923-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19a0905025923-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19a0905025923-3">
                    3
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c19a0905025923-1">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "title"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     vim
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     conf
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     regionservers
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19a0905025923-2">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "number"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-cn">
                     192.168.1.127
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19a0905025923-3">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "number"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-cn">
                     192.168.1.128
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0153 seconds] -->
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <h3 id="3-3拷贝数据到其他服务器">
        3.3拷贝数据到其他服务器
       </h3>
       <p>
        1.复制hbase目录到其他从服务器
       </p>
       <figure class="highlight elixir">
        <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
        <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c19a6624399804" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
         <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
          <span class="crayon-title">
          </span>
          <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-wrap-button" title="切换自动换行">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-expand-button" title="点击展开代码">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-copy-button" title="复制代码">
            <div class="crayon-button-icon">
            </div>
           </div>
           <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
            <div class="crayon-button-icon">
            </div>
           </div>
          </div>
         </div>
         <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
         </div>
         <div class="crayon-plain-wrap">
          <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
           &lt;span class="line"&gt;scp -r hbase hadoop&lt;span class="variable"&gt;@192&lt;/span&gt;.&lt;span class="number"&gt;168.1&lt;/span&gt;.&lt;span class="number"&gt;128&lt;/span&gt;&lt;span class="symbol"&gt;:~&lt;/span&gt; &lt;/span&gt;
&lt;span class="line"&gt;scp -r hbase hadoop&lt;span class="variable"&gt;@192&lt;/span&gt;.&lt;span class="number"&gt;168.1&lt;/span&gt;.&lt;span class="number"&gt;129&lt;/span&gt;&lt;span class="symbol"&gt;:~&lt;/span&gt; &lt;/span&gt;
&lt;span class="line"&gt;&lt;span class="comment"&gt;##注意在从服务器将hbase移动到/usr/local  不要这部也是没事的，只是为了保证集群环境一致&lt;/span&gt;&lt;/span&gt;
&lt;span class="line"&gt;mv hbase /usr/local&lt;/span&gt;
          </textarea>
         </div>
         <div class="crayon-main" style="">
          <table class="crayon-table">
           <tbody>
            <tr class="crayon-row">
             <td class="crayon-nums " data-settings="show">
              <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
               <div class="crayon-num" data-line="crayon-576853d8c19a6624399804-1">
                1
               </div>
               <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19a6624399804-2">
                2
               </div>
               <div class="crayon-num" data-line="crayon-576853d8c19a6624399804-3">
                3
               </div>
               <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19a6624399804-4">
                4
               </div>
              </div>
             </td>
             <td class="crayon-code">
              <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
               <div class="crayon-line" id="crayon-576853d8c19a6624399804-1">
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "line"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-v">
                 scp
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-o">
                 -
                </span>
                <span class="crayon-i">
                 r
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-e">
                 hbase
                </span>
                <span class="crayon-v">
                 hadoop
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "variable"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-sy">
                 @
                </span>
                <span class="crayon-cn">
                 192
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-sy">
                 .
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "number"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-cn">
                 168.1
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-sy">
                 .
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "number"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-cn">
                 128
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "symbol"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-o">
                 :
                </span>
                <span class="crayon-o">
                 ~
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
               </div>
               <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19a6624399804-2">
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "line"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-v">
                 scp
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-o">
                 -
                </span>
                <span class="crayon-i">
                 r
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-e">
                 hbase
                </span>
                <span class="crayon-v">
                 hadoop
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "variable"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-sy">
                 @
                </span>
                <span class="crayon-cn">
                 192
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-sy">
                 .
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "number"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-cn">
                 168.1
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-sy">
                 .
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "number"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-cn">
                 129
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "symbol"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-o">
                 :
                </span>
                <span class="crayon-o">
                 ~
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
               </div>
               <div class="crayon-line" id="crayon-576853d8c19a6624399804-3">
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "line"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "comment"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-p">
                 ##注意在从服务器将hbase移动到/usr/local  不要这部也是没事的，只是为了保证集群环境一致&lt;/span&gt;&lt;/span&gt;
                </span>
               </div>
               <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19a6624399804-4">
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-e">
                 span
                </span>
                <span class="crayon-t">
                 class
                </span>
                <span class="crayon-o">
                 =
                </span>
                <span class="crayon-s">
                 "line"
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
                <span class="crayon-e">
                 mv
                </span>
                <span class="crayon-v">
                 hbase
                </span>
                <span class="crayon-h">
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 usr
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 local
                </span>
                <span class="crayon-o">
                 &lt;
                </span>
                <span class="crayon-o">
                 /
                </span>
                <span class="crayon-v">
                 span
                </span>
                <span class="crayon-o">
                 &gt;
                </span>
               </div>
              </div>
             </td>
            </tr>
           </tbody>
          </table>
         </div>
        </div>
        <!-- [Format Time: 0.0198 seconds] -->
        <br/>
       </figure>
       <h3 id="3-4启动验证：">
        3.4启动验证：
       </h3>
       <p>
        注意需要先启动Hadoop
       </p>
       <figure class="highlight puppet">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c19ac380040564" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               &lt;span class="line"&gt;&lt;span class="comment"&gt;##启动Hadoop&lt;/span&gt;&lt;/span&gt;
&lt;span class="line"&gt;&lt;span class="literal"&gt;start&lt;/span&gt;-all.sh&lt;/span&gt;
&lt;span class="line"&gt;&lt;span class="comment"&gt;##启动Hbase&lt;/span&gt;&lt;/span&gt;
&lt;span class="line"&gt;cd hbase&lt;/span&gt;
&lt;span class="line"&gt;bin/&lt;span class="literal"&gt;start&lt;/span&gt;-hbase.sh&lt;/span&gt;
&lt;span class="line"&gt;jps&lt;/span&gt;
&lt;span class="line"&gt;输出：&lt;span class="constant"&gt;H&lt;/span&gt;RegionServer&lt;/span&gt;
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c19ac380040564-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19ac380040564-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19ac380040564-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19ac380040564-4">
                    4
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19ac380040564-5">
                    5
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19ac380040564-6">
                    6
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19ac380040564-7">
                    7
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c19ac380040564-1">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "comment"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-p">
                     ##启动Hadoop&lt;/span&gt;&lt;/span&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19ac380040564-2">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "literal"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     start
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-v">
                     all
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     sh
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19ac380040564-3">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "comment"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-p">
                     ##启动Hbase&lt;/span&gt;&lt;/span&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19ac380040564-4">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-e">
                     cd
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19ac380040564-5">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     bin
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "literal"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     start
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     sh
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19ac380040564-6">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     jps
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19ac380040564-7">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    输出：
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "constant"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     H
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     RegionServer
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0140 seconds] -->
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <p>
        通过浏览器查看：在浏览器中输入 ：
        <a href="http://192.168.1.127:60010/" rel="external" target="_blank">
         http://192.168.1.127:60010/
        </a>
       </p>
       <figure class="highlight puppet">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c19b3498248676" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               &lt;span class="line"&gt;&lt;span class="comment"&gt;##停止&lt;/span&gt;&lt;/span&gt;

&lt;span class="line"&gt;bin/&lt;span class="literal"&gt;stop&lt;/span&gt;-hbase.sh&lt;/span&gt;
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c19b3498248676-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b3498248676-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b3498248676-3">
                    3
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c19b3498248676-1">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "comment"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-p">
                     ##停止&lt;/span&gt;&lt;/span&gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b3498248676-2">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b3498248676-3">
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "line"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     bin
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-e">
                     span
                    </span>
                    <span class="crayon-t">
                     class
                    </span>
                    <span class="crayon-o">
                     =
                    </span>
                    <span class="crayon-s">
                     "literal"
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-v">
                     stop
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     sh
                    </span>
                    <span class="crayon-o">
                     &lt;
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     span
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0100 seconds] -->
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <h3 id="3-5hbase简答测试：">
        3.5hbase简答测试：
       </h3>
       <figure class="highlight ruby">
        <table>
         <tbody>
          <tr>
           <td class="gutter">
           </td>
           <td class="code">
            <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
            <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-576853d8c19b9184577386" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
             <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
              <span class="crayon-title">
              </span>
              <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
               <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-wrap-button" title="切换自动换行">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-expand-button" title="点击展开代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-copy-button" title="复制代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
                <div class="crayon-button-icon">
                </div>
               </div>
               <span class="crayon-language">
                Java
               </span>
              </div>
             </div>
             <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
             </div>
             <div class="crayon-plain-wrap">
              <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
               bin/hbase shell

HBase Shell; enter 'help&lt;RETURN&gt;' for list of supported commands.

Type "exit&lt;RETURN&gt;" to leave the HBase Shell

Version 0.94.12, r1524863, Fri Sep 20 04:44:41 UTC 2013

hbase(main):001:0&gt;

##创建一个名为 small的表，这个表只有一个 column family 为 cf。可以列出所有的表来检查创建情况，然后插入些值。

hbase(main):003:0&gt; create 'small', 'cf'
0 row(s) in 1.2200 seconds
hbase(main):003:0&gt; list
small
1 row(s) in 0.0550 seconds
hbase(main):004:0&gt; put 'small', 'row1', 'cf:a', 'value1'
0 row(s) in 0.0560 seconds
hbase(main):005:0&gt; put 'small', 'row2', 'cf:b', 'value2'
0 row(s) in 0.0370 seconds
hbase(main):006:0&gt; put 'small', 'row3', 'cf:c', 'value3'
0 row(s) in 0.0450 seconds

##检查插入情况.Scan这个表

hbase(main):005:0&gt; scan 'small'

Get一行，操作如下

hbase(main):008:0&gt; get 'small', 'row1'

disable 再 drop 这张表，可以清除你刚刚的操作

hbase(main):012:0&gt; disable 'small'
0 row(s) in 1.0930 seconds
hbase(main):013:0&gt; drop 'small'
0 row(s) in 0.0770 seconds

##导出与导入

bin/hbase org.apache.hadoop.hbase.mapreduce.Driver export small small

导出的表，在hadoop文件系统的当前用户目录下，small文件夹中。例如，导出后在hadoop文件系统中的目录结构：

bin/hadoop dfs -ls

Found 1 items

drwxr-xr-x   - hadoop supergroup         /small
              </textarea>
             </div>
             <div class="crayon-main" style="">
              <table class="crayon-table">
               <tbody>
                <tr class="crayon-row">
                 <td class="crayon-nums " data-settings="show">
                  <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-1">
                    1
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-2">
                    2
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-3">
                    3
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-4">
                    4
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-5">
                    5
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-6">
                    6
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-7">
                    7
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-8">
                    8
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-9">
                    9
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-10">
                    10
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-11">
                    11
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-12">
                    12
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-13">
                    13
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-14">
                    14
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-15">
                    15
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-16">
                    16
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-17">
                    17
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-18">
                    18
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-19">
                    19
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-20">
                    20
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-21">
                    21
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-22">
                    22
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-23">
                    23
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-24">
                    24
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-25">
                    25
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-26">
                    26
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-27">
                    27
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-28">
                    28
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-29">
                    29
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-30">
                    30
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-31">
                    31
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-32">
                    32
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-33">
                    33
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-34">
                    34
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-35">
                    35
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-36">
                    36
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-37">
                    37
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-38">
                    38
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-39">
                    39
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-40">
                    40
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-41">
                    41
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-42">
                    42
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-43">
                    43
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-44">
                    44
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-45">
                    45
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-46">
                    46
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-47">
                    47
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-48">
                    48
                   </div>
                   <div class="crayon-num" data-line="crayon-576853d8c19b9184577386-49">
                    49
                   </div>
                   <div class="crayon-num crayon-striped-num" data-line="crayon-576853d8c19b9184577386-50">
                    50
                   </div>
                  </div>
                 </td>
                 <td class="crayon-code">
                  <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-1">
                    <span class="crayon-v">
                     bin
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-e">
                     shell
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-2">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-3">
                    <span class="crayon-e">
                     HBase
                    </span>
                    <span class="crayon-v">
                     Shell
                    </span>
                    <span class="crayon-sy">
                     ;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     enter
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'help&lt;RETURN&gt;'
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     for
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     list
                    </span>
                    <span class="crayon-e">
                     of
                    </span>
                    <span class="crayon-e">
                     supported
                    </span>
                    <span class="crayon-v">
                     commands
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-4">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-5">
                    <span class="crayon-i">
                     Type
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     "exit&lt;RETURN&gt;"
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     to
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     leave
                    </span>
                    <span class="crayon-e">
                     the
                    </span>
                    <span class="crayon-e">
                     HBase
                    </span>
                    <span class="crayon-e">
                     Shell
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-6">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-7">
                    <span class="crayon-i">
                     Version
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     0.94.12
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     r1524863
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     Fri
                    </span>
                    <span class="crayon-i">
                     Sep
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     20
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     04
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     44
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     41
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     UTC
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     2013
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-8">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-9">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     001
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-10">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-11">
                    <span class="crayon-o">
                     #
                    </span>
                    <span class="crayon-o">
                     #
                    </span>
                    创建一个名为
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     small
                    </span>
                    的表，这个表只有一个
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     column
                    </span>
                    <span class="crayon-i">
                     family
                    </span>
                    <span class="crayon-h">
                    </span>
                    为
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     cf
                    </span>
                    。可以列出所有的表来检查创建情况，然后插入些值。
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-12">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-13">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     003
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     create
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'small'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'cf'
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-14">
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     row
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     s
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     1.2200
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     seconds
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-15">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     003
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     list
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-16">
                    <span class="crayon-i">
                     small
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-17">
                    <span class="crayon-cn">
                     1
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     row
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     s
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     0.0550
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     seconds
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-18">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     004
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     put
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'small'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'row1'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'cf:a'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'value1'
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-19">
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     row
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     s
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     0.0560
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     seconds
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-20">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     005
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     put
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'small'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'row2'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'cf:b'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'value2'
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-21">
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     row
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     s
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     0.0370
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     seconds
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-22">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     006
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     put
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'small'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'row3'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'cf:c'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'value3'
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-23">
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     row
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     s
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     0.0450
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     seconds
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-24">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-25">
                    <span class="crayon-o">
                     #
                    </span>
                    <span class="crayon-o">
                     #
                    </span>
                    检查插入情况
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-i">
                     Scan
                    </span>
                    这个表
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-26">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-27">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     005
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     scan
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'small'
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-28">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-29">
                    <span class="crayon-i">
                     Get
                    </span>
                    一行，操作如下
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-30">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-31">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     008
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     get
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'small'
                    </span>
                    <span class="crayon-sy">
                     ,
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'row1'
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-32">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-33">
                    <span class="crayon-i">
                     disable
                    </span>
                    <span class="crayon-h">
                    </span>
                    再
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     drop
                    </span>
                    <span class="crayon-h">
                    </span>
                    这张表，可以清除你刚刚的操作
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-34">
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-35">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     012
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     disable
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'small'
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-36">
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     row
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     s
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     1.0930
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     seconds
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-37">
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     main
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     013
                    </span>
                    <span class="crayon-o">
                     :
                    </span>
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-o">
                     &gt;
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-i">
                     drop
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-s">
                     'small'
                    </span>
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-38">
                    <span class="crayon-cn">
                     0
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     row
                    </span>
                    <span class="crayon-sy">
                     (
                    </span>
                    <span class="crayon-v">
                     s
                    </span>
                    <span class="crayon-sy">
                     )
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-st">
                     in
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     0.0770
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-v">
                     seconds
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-39">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-40">
                    <span class="crayon-o">
                     #
                    </span>
                    <span class="crayon-o">
                     #
                    </span>
                    导出与导入
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-41">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-42">
                    <span class="crayon-v">
                     bin
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-e">
                     hbase
                    </span>
                    <span class="crayon-v">
                     org
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     apache
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     hadoop
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     hbase
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-v">
                     mapreduce
                    </span>
                    <span class="crayon-sy">
                     .
                    </span>
                    <span class="crayon-e">
                     Driver
                    </span>
                    <span class="crayon-e">
                     export
                    </span>
                    <span class="crayon-e">
                     small
                    </span>
                    <span class="crayon-i">
                     small
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-43">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-44">
                    导出的表，在
                    <span class="crayon-i">
                     hadoop
                    </span>
                    文件系统的当前用户目录下，
                    <span class="crayon-i">
                     small
                    </span>
                    文件夹中。例如，导出后在
                    <span class="crayon-i">
                     hadoop
                    </span>
                    文件系统中的目录结构：
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-45">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-46">
                    <span class="crayon-v">
                     bin
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-e">
                     hadoop
                    </span>
                    <span class="crayon-v">
                     dfs
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-e">
                     ls
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-47">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-48">
                    <span class="crayon-i">
                     Found
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-cn">
                     1
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     items
                    </span>
                   </div>
                   <div class="crayon-line" id="crayon-576853d8c19b9184577386-49">
                   </div>
                   <div class="crayon-line crayon-striped-line" id="crayon-576853d8c19b9184577386-50">
                    <span class="crayon-v">
                     drwxr
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-v">
                     xr
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-v">
                     x
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     -
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-e">
                     hadoop
                    </span>
                    <span class="crayon-v">
                     supergroup
                    </span>
                    <span class="crayon-h">
                    </span>
                    <span class="crayon-o">
                     /
                    </span>
                    <span class="crayon-v">
                     small
                    </span>
                   </div>
                  </div>
                 </td>
                </tr>
               </tbody>
              </table>
             </div>
            </div>
            <!-- [Format Time: 0.0420 seconds] -->
            <br/>
           </td>
          </tr>
         </tbody>
        </table>
       </figure>
       <p>
        本章介绍到这里
        <br/>
        来自伊豚（wpeace.cn）
       </p>
      </div>
      <div>
       <strong>
        注：转载文章均来自于公开网络，仅供学习使用，不会用于任何商业用途，如果侵犯到原作者的权益，请您与我们联系删除或者授权事宜，联系邮箱：contact@dataunion.org。转载数盟网站文章请注明原文章作者，否则产生的任何版权纠纷与数盟无关。
       </strong>
      </div>
      <!--content_text-->
      <div class="fenxian">
       <!-- JiaThis Button BEGIN -->
       <div class="jiathis_style_32x32">
        <p class="jiathis_button_weixin">
        </p>
        <p class="jiathis_button_tsina">
        </p>
        <p class="jiathis_button_qzone">
        </p>
        <p class="jiathis_button_cqq">
        </p>
        <p class="jiathis_button_tumblr">
        </p>
        <a class="jiathis jiathis_txt jtico jtico_jiathis" href="http://www.jiathis.com/share" target="_blank">
        </a>
        <p class="jiathis_counter_style">
        </p>
       </div>
       <!-- JiaThis Button END -->
      </div>
     </article>
     <!--content-->
     <!--相关文章-->
     <div class="xianguan">
      <div class="xianguantitle">
       相关文章！
      </div>
      <ul class="pic">
       <li>
        <a href="http://dataunion.org/24670.html">
         <img src="http://dataunion.org/wp-content/uploads/2016/03/20141222134630106-300x164.png"/>
        </a>
        <a class="link" href="http://dataunion.org/24670.html" rel="bookmark" title="Apache Spark 不过时的六大理由">
         Apache Spark 不过时的六大理由
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/24558.html">
         <img src="http://dataunion.org/wp-content/uploads/2016/06/wKiom1dcvqDBYzojAAF3j3hfL_s877.jpg-wh_651x-s_1673119543-300x197.jpg"/>
        </a>
        <a class="link" href="http://dataunion.org/24558.html" rel="bookmark" title="实现R与Hadoop联合作业的三种方法">
         实现R与Hadoop联合作业的三种方法
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/24454.html">
         <img src="http://dataunion.org/wp-content/uploads/2016/06/234040u557x77z325w2g3o-267x200.jpg"/>
        </a>
        <a class="link" href="http://dataunion.org/24454.html" rel="bookmark" title="LinkedIn 开源其分布式对象存储系统 Ambry">
         LinkedIn 开源其分布式对象存储系统 Ambry
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/24349.html">
         <img src="http://dataunion.org/wp-content/uploads/2016/05/20150402110749389-249x200.jpg"/>
        </a>
        <a class="link" href="http://dataunion.org/24349.html" rel="bookmark" title="生活处处皆学问，我从星巴克咖啡学到的5点架构经验">
         生活处处皆学问，我从星巴克咖啡学到的5点架构经验
        </a>
       </li>
      </ul>
     </div>
     <!--相关文章-->
     <div class="comment" id="comments">
      <!-- You can start editing here. -->
      <!-- If comments are open, but there are no comments. -->
      <div class="title">
       期待你一针见血的评论，Come on！
      </div>
      <div id="respond">
       <p>
        不用想啦，马上
        <a href="http://dataunion.org/wp-login.php?redirect_to=http%3A%2F%2Fdataunion.org%2F24331.html">
         "登录"
        </a>
        发表自已的想法.
       </p>
      </div>
     </div>
     <!-- .nav-single -->
    </div>
    <!--Container End-->
    <aside id="sitebar">
     <div class="sitebar_list2">
      <div class="wptag">
       <span class="tagtitle">
        热门标签+
       </span>
       <div class="tagg">
        <ul class="menu" id="menu-%e5%8f%8b%e6%83%85%e9%93%be%e6%8e%a5">
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1605" id="menu-item-1605">
          <a href="http://taidizh.com/">
           泰迪智慧
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-20884" id="menu-item-20884">
          <a href="http://www.transwarp.cn/">
           星环科技
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-3538" id="menu-item-3538">
          <a href="http://datall.org/">
           珈和遥感
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-20888" id="menu-item-20888">
          <a href="http://www.chinahadoop.cn/">
           小象学院
          </a>
         </li>
        </ul>
       </div>
      </div>
     </div>
     <div class="sitebar_list">
      <div class="textwidget">
       <div align="center">
        <a href="http://study.163.com/course/courseMain.htm?courseId=991022" target="_blank">
         <img src="http://dataunion.org/wp-content/uploads/2016/03/dv.jpg"/>
        </a>
       </div>
      </div>
     </div>
     <div class="sitebar_list">
      <h4 class="sitebar_title">
       文章分类
      </h4>
      <div class="tagcloud">
       <a class="tag-link-44" href="http://dataunion.org/category/industry/demo" style="font-size: 10.204724409449pt;" title="4个话题">
        Demo展示
       </a>
       <a class="tag-link-31" href="http://dataunion.org/category/experts" style="font-size: 15.826771653543pt;" title="52个话题">
        专家团队
       </a>
       <a class="tag-link-870" href="http://dataunion.org/category/tech/ai" style="font-size: 19.795275590551pt;" title="273个话题">
        人工智能
       </a>
       <a class="tag-link-488" href="http://dataunion.org/category/%e5%8a%a0%e5%85%a5%e6%95%b0%e7%9b%9f" style="font-size: 8pt;" title="1个话题">
        加入数盟
       </a>
       <a class="tag-link-869" href="http://dataunion.org/category/tech/viz" style="font-size: 17.204724409449pt;" title="93个话题">
        可视化
       </a>
       <a class="tag-link-30" href="http://dataunion.org/category/partners" style="font-size: 10.645669291339pt;" title="5个话题">
        合作伙伴
       </a>
       <a class="tag-link-889" href="http://dataunion.org/category/parterc" style="font-size: 11.582677165354pt;" title="8个话题">
        合作会议
       </a>
       <a class="tag-link-104" href="http://dataunion.org/category/books" style="font-size: 12.96062992126pt;" title="15个话题">
        图书
       </a>
       <a class="tag-link-220" href="http://dataunion.org/category/tech/base" style="font-size: 19.850393700787pt;" title="281个话题">
        基础架构
       </a>
       <a class="tag-link-219" href="http://dataunion.org/category/tech/analysis" style="font-size: 19.409448818898pt;" title="232个话题">
        数据分析
       </a>
       <a class="tag-link-887" href="http://dataunion.org/category/tech/dm" style="font-size: 13.291338582677pt;" title="17个话题">
        数据挖掘
       </a>
       <a class="tag-link-34" href="http://dataunion.org/category/tech" style="font-size: 20.732283464567pt;" title="404个话题">
        文章
       </a>
       <a class="tag-link-1" href="http://dataunion.org/category/uncategorized" style="font-size: 22pt;" title="693个话题">
        未分类
       </a>
       <a class="tag-link-4" href="http://dataunion.org/category/events" style="font-size: 14.503937007874pt;" title="29个话题">
        活动
       </a>
       <a class="tag-link-890" href="http://dataunion.org/category/tech/%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0" style="font-size: 10.204724409449pt;" title="4个话题">
        深度学习
       </a>
       <a class="tag-link-221" href="http://dataunion.org/category/tech/devl" style="font-size: 18.968503937008pt;" title="193个话题">
        编程语言
       </a>
       <a class="tag-link-888" href="http://dataunion.org/category/career" style="font-size: 15.661417322835pt;" title="48个话题">
        职业规划
       </a>
       <a class="tag-link-5" href="http://dataunion.org/category/jobs" style="font-size: 14.11811023622pt;" title="25个话题">
        职位
       </a>
       <a class="tag-link-871" href="http://dataunion.org/category/industry" style="font-size: 15.716535433071pt;" title="49个话题">
        行业
       </a>
       <a class="tag-link-613" href="http://dataunion.org/category/industry/case" style="font-size: 16.984251968504pt;" title="84个话题">
        行业应用
       </a>
       <a class="tag-link-885" href="http://dataunion.org/category/industry/news" style="font-size: 17.425196850394pt;" title="102个话题">
        行业资讯
       </a>
       <a class="tag-link-10" href="http://dataunion.org/category/training" style="font-size: 14.228346456693pt;" title="26个话题">
        课程
       </a>
       <a class="tag-link-16" href="http://dataunion.org/category/sources" style="font-size: 15.661417322835pt;" title="48个话题">
        资源
       </a>
      </div>
     </div>
     <div class="sitebar_list">
      <h4 class="sitebar_title">
       功能
      </h4>
      <ul>
       <li>
        <a href="http://dataunion.org/wp-login.php?action=register">
         注册
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/wp-login.php">
         登录
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/feed">
         文章
         <abbr title="Really Simple Syndication">
          RSS
         </abbr>
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/comments/feed">
         评论
         <abbr title="Really Simple Syndication">
          RSS
         </abbr>
        </a>
       </li>
       <li>
        <a href="https://cn.wordpress.org/" title="基于WordPress，一个优美、先进的个人信息发布平台。">
         WordPress.org
        </a>
       </li>
      </ul>
     </div>
    </aside>
    <div class="clear">
    </div>
   </div>
   <!--main-->
   ﻿
   <footer id="dibu">
    <div class="about">
     <div class="right">
      <ul class="menu" id="menu-%e5%ba%95%e9%83%a8%e8%8f%9c%e5%8d%95">
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-18024" id="menu-item-18024">
        <a href="http://dataunion.org/category/partners">
         合作伙伴
        </a>
       </li>
       <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-20881" id="menu-item-20881">
        <a href="http://dataunion.org/contribute">
         文章投稿
        </a>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20872" id="menu-item-20872">
        <a href="http://dataunion.org/category/%e5%8a%a0%e5%85%a5%e6%95%b0%e7%9b%9f">
         加入数盟
        </a>
       </li>
       <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22441" id="menu-item-22441">
        <a href="http://dataunion.org/f-links">
         友情链接
        </a>
       </li>
       <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-20874" id="menu-item-20874">
        <a href="http://dataunion.org/aboutus">
         关于数盟
        </a>
       </li>
      </ul>
      <p class="banquan">
       数盟社区        ，
        做最棒的数据科学社区
      </p>
     </div>
     <div class="left">
      <ul class="bottomlist">
       <li>
        <a href="http://weibo.com/DataScientistUnion  " target="_blank" 　title="">
         <img src="http://dataunion.org/wp-content/themes/yzipi/images/weibo.png"/>
        </a>
       </li>
       <li>
        <a class="cd-popup-trigger" href="http://dataunion.org/24331.html#0">
         <img src="http://dataunion.org/wp-content/themes/yzipi/images/weixin.png"/>
        </a>
       </li>
      </ul>
      <div class="cd-popup">
       <div class="cd-popup-container">
        <h1>
         扫描二维码,加微信公众号
        </h1>
        <img src="http://dataunion.org/wp-content/themes/yzipi/images/2014-12-06-1515289049.png"/>
        <a class="cd-popup-close" href="http://dataunion.org/24331.html">
        </a>
       </div>
       <!-- cd-popup-container -->
      </div>
      <!-- cd-popup -->
     </div>
    </div>
    <!--about-->
    <div class="bottom">
     <a href="http://dataunion.org/">
      数盟社区
     </a>
     <a href="http://www.miitbeian.gov.cn/" rel="external nofollow" target="_blank">
      京ICP备14026740号
     </a>
     联系我们：
     <a href="mailto:contact@dataunion.org" target="_blank">
      contact@dataunion.org
     </a>
     <div class="tongji">
     </div>
     <!--bottom-->
     <div class="scroll" id="scroll" style="display:none;">
      ︿
     </div>
    </div>
   </footer>
   <!--dibu-->
  </div>
 </body>
</html>